<%@ Page Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="Sites.aspx.cs" Inherits="Sites" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphActions" Runat="Server">
    <asp:LinkButton ID="btnAddNew" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" Runat="Server">
    <h2>Sites</h2>
    &nbsp;&nbsp;
    <ds:SiteDataSource id="dsSites" EnablePaging="false" runat="server" />
    <acms:GridViewWithInsert ID="gvSites" DataSourceID="dsSites" runat="server" AutoGenerateColumns="False" AllowPaging="True" AllowInsert="True" DataKeyNames="Id">
        <Columns>
            <acms:BoundField DataField="Name" HeaderText="Name" InsertVisible="True" SortExpression="Name" IsRequiredField="true" RequiredErrorMessage="(required)"/>
            <acms:BoundField DataField="RootUrl" HeaderText="RootUrl" InsertVisible="True" SortExpression="RootUrl" />
            <acms:BoundField DataField="Created" HeaderText="Created" ReadOnly="True" InsertVisible="False" SortExpression="Created" />
            <acms:CommandField />
        </Columns>
    </acms:GridViewWithInsert>
</asp:Content>

